back · tests/capture.spec.ts:95:2 / Camera
Error: expect(locator).toHaveCount(expected) failed
Locator: getByText(/Chargement…|Analyse…|En attente/)
Expected: 0
Received: 1
Timeout: 30000ms
Call log:
- Expect "toHaveCount" with timeout 30000ms
- waiting for getByText(/Chargement…|Analyse…|En attente/)
2 × locator resolved to 2 elements
- unexpected value "2"
62 × locator resolved to 1 element
- unexpected value "1"
at waitForLoadingEnd (tests/utils/loading.js:48:44)
at tests/capture.spec.ts:26:3
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/capture.spec.ts:10:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/capture.spec.ts:10:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/capture.spec.ts:10:7
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/capture.spec.ts:10:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)